﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DTO;
using DataAccess;

namespace Business
{
    public class XuLyCapNhatKhachHang
    {
        private KhachHang _khachhang = new KhachHang();

        public KhachHang khachhang
        {
            get { return _khachhang; }
            set { _khachhang = value; }
        }
        public void ThucThi()
        {
            TruyXuatCapNhatKhachHang xuly = new TruyXuatCapNhatKhachHang();
            xuly.khachhang = this.khachhang;
            xuly.CapNhatKhachHang();
        }
        public void CapNhatDamThuong()
        {
            TruyXuatCapNhatKhachHang damthuong = new TruyXuatCapNhatKhachHang();
            damthuong.khachhang = this.khachhang;
            damthuong.CapNhatDamThuong();
        }
    }
}
